-
Notifications
You must be signed in to change notification settings - Fork 205
Adding YAW_MOTORS_REVERSED #954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Setitng to 1
WalkthroughThis change enables yaw motor reversal across four drone flight controller configurations (NBD_INFINITYF4, TRANSTECF405HD, TRANSTECF411AIO, TRANSTECF411HD) by activating the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (10)📓 Common learnings📚 Learning: 2025-05-28T15:42:05.402ZApplied to files:
📚 Learning: 2025-05-28T15:42:05.402ZApplied to files:
📚 Learning: 2025-08-22T17:08:23.283ZApplied to files:
📚 Learning: 2025-07-03T15:17:30.040ZApplied to files:
📚 Learning: 2025-08-05T16:56:44.200ZApplied to files:
📚 Learning: 2025-07-14T16:16:50.628ZApplied to files:
📚 Learning: 2025-07-23T13:43:50.456ZApplied to files:
📚 Learning: 2025-06-23T18:44:59.162ZApplied to files:
📚 Learning: 2025-07-14T16:16:50.628ZApplied to files:
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| #define DEFAULT_CURRENT_METER_SCALE 245 | ||
| #define BEEPER_PWM_HZ 1000 | ||
| //TODO #define YAW_MOTORS_REVERSED ON | ||
| #define YAW_MOTORS_REVERSED 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest simplifying like INVERTED
BEEPER_INVERTED
BUTTON_A_PIN_INVERTED
BUTTON_B_PIN_INVERTED
LEDx_INVERTED
SDCARD_DETECT_INVERTED
RX_SPI_LED_INVERTED
❓
| #define YAW_MOTORS_REVERSED 1 | |
| #define YAW_MOTORS_REVERSED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Different use cases. Your suggested similarities are all pins. This changes mixer behaviour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, IMO there is no need for #define YAW_MOTORS_REVERSED OFF (or 0).
Setting to 1... instead of ON
Support for betaflight/betaflight#14738
Summary by CodeRabbit